X_LIBS += libxlibc.a libcxx.a
X_CXXFLAGS 	+= -w

NAME		:= hellocpp.xapp
SRC			+= main.cpp

define CUSTOM_TARGET_CMD
echo [APP] $@; \
$(LD) $(X_LDFLAGS) $(X_OBJS) -o $@ $(patsubst %, -L%, $(X_LIBDIRS)) \
	--start-group $(patsubst %, -l:%, $(X_LIBS)) --end-group; \
$(OD) -D -S $@ > $@.dump.S
endef
